package com.woniuxy.educationplatform.service.impl;

import com.woniuxy.educationplatform.bean.OrderAddress;
import com.woniuxy.educationplatform.mapper.OrderAddressMapper;
import com.woniuxy.educationplatform.service.IOrderAddressService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class OrderAddressImpl implements IOrderAddressService {
    @Resource
    private OrderAddressMapper orderAddressMapper;
    @Override
    public List<OrderAddress> findAddressesByStudentId(Long id) {
        return orderAddressMapper.findAddressesByStudentId(id);
    }
}
